#include "zuoye05.h"
#include <stdio.h>
int main(void)
{
	int k=0;
	printf("1000以内的完数有:\n");
	for(k=0;k<=1000;k++)
	{
		if(wanshu(k)==1)
		{
			printf("%d\n",k);
		}
	}
	return 0;
}
